package com.xunk.system.entity.ruying;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;
import java.util.Map;

public class DeviceDefine {
    /**
     * 设备id
     */
    private String did;

    /**
     * 设备type
     */
    private String type;

    /**
     * 设备描述
     * 中英文，简繁体
     */
    private Map<String, String> description;

    /**
     * 设备下服务列表
     */
    private List<DeviceService> services;

    public String getType() {
        return type;
    }

    @JSONField(name = "type")
    public void setType(String type) {
        this.type = type;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public Map<String, String> getDescription() {
        return description;
    }

    @JSONField(name = "description")
    public void setDescription(Map<String, String> description) {
        this.description = description;
    }

    public List<DeviceService> getServices() {
        return services;
    }

    @JSONField(name = "services")
    public void setServices(List<DeviceService> services) {
        this.services = services;
    }
}
